package com.xuelangyun;

import com.xuelangyun.service.ConstructorService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Version 1.0
 * @Author:xinyan
 * @Date:2022/4/16
 * @Content:
 */
public class ConstructorStart {
  public static void main(String[] args) {
    //
      ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("constructor.xml");
      ConstructorService constructorService = (ConstructorService) classPathXmlApplicationContext.getBean("constructorService");
      constructorService.test();
  }
}
